﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataLayer
{
    public class DBFacade : IFacade
    {
        DBConnect DB;

        public DBFacade() { DB = new DBConnect(); }

        public int Execute(string query) { return DB.Execute(query); }
        public DataTable Read(string query) { return DB.Read(query); }
        public string ReadScalar(string query) { return DB.ReadScalar(query); }
    }
}
